package com.newer.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@ApiModel(value="com-newer-domain-Supplier")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "t_supplier")
public class Supplier {
    @TableId(value = "supplierId", type = IdType.AUTO)
    @ApiModelProperty(value="")
    private Integer supplierid;

    @TableField(value = "supplierName")
    @ApiModelProperty(value="")
    private String suppliername;

    @TableField(value = "contacts")
    @ApiModelProperty(value="")
    private String contacts;

    @TableField(value = "phone")
    @ApiModelProperty(value="")
    private String phone;

    @TableField(value = "mobile")
    @ApiModelProperty(value="")
    private String mobile;

    @TableField(value = "email")
    @ApiModelProperty(value="")
    private String email;

    @TableField(value = "earnest")
    @ApiModelProperty(value="")
    private Double earnest;

    @TableField(value = "balance")
    @ApiModelProperty(value="")
    private Double balance;

    @TableField(value = "state")
    @ApiModelProperty(value="")
    private String state;
}